package com.fan.admin.service;

import com.fan.commons.pojo.Course;
import com.fan.commons.pojo.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author fan
 * @date 2021/2/12
 */
public interface TeacherService {

	/**
	 * 添加教师信息
	 *
	 * @param teacher
	 * @return
	 */
	int insertTeacher(Teacher teacher);

	/**
	 * 查询 teachers
	 *
	 * @return
	 */
	List<Teacher> queryTeachers(Teacher teacher);

	String getTeacherId(String collegeId, String systemId);

	int updateTeacherById(Teacher teacher);

	int deleteTeacherById(Integer id);

	List<Course> teacherCourseCla(@Param("teacherId") String teacherId);
}
